package com.ruoyi.service;



import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ruoyi.domain.SysDictData;
import com.ruoyi.mapper.SysDictDataMapper;


@Service
public class SysDictDataService {

	@Autowired
	private SysDictDataMapper sysDictDataMapper;
	
	public List<SysDictData> selectDictDataList(SysDictData dictData) {
		return sysDictDataMapper.selectDictDataList(dictData);
	}

	public SysDictData selectDictDataById(Long dictCode) {
		return sysDictDataMapper.selectDictDataById(dictCode);
	}

	public int insertDictData(SysDictData dict) {
		return sysDictDataMapper.insertDictData(dict);
	}

	public int updateDictData(SysDictData dict) {
		return sysDictDataMapper.updateDictData(dict);
	}

	public int deleteDictDataById(Long dictCode) {
		return sysDictDataMapper.deleteDictDataById(dictCode);
	}

	
}
